package com.gongzonqiang.pojo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Data
@Table(name = "`price`")
public class Price {
    @Id
    @Column(name = "`price_id`")
    private Integer priceId;

    @Column(name = "`day_num`")
    private Integer dayNum;

    @Column(name = "`pirce`")
    private Double pirce;

    @Column(name = "`create_date`",insertable=false)
    private Date createDate;

    @Column(name = "`update_date`",updatable=false)
    private Date updateDate;

    /**
     * @return price_id
     */
    public Integer getPriceId() {
        return priceId;
    }

    /**
     * @param priceId
     */
    public void setPriceId(Integer priceId) {
        this.priceId = priceId;
    }

    /**
     * @return day_num
     */
    public Integer getDayNum() {
        return dayNum;
    }

    /**
     * @param dayNum
     */
    public void setDayNum(Integer dayNum) {
        this.dayNum = dayNum;
    }

    /**
     * @return pirce
     */
    public Double getPirce() {
        return pirce;
    }

    /**
     * @param pirce
     */
    public void setPirce(Double pirce) {
        this.pirce = pirce;
    }

    /**
     * @return create_date
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return update_date
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}